export default {
    data () {
        return {
            tabList: [
                {
                    label: '全部',
                    name: 'whole'
                },
                {
                    label: '已到',
                    name: 'arrived'
                },
                {
                    label: '预到',
                    name: 'preArrival'
                },
                {
                    label: '过期未到',
                    name: 'overdue'
                }
            ]
        }
    },
    methods: {
        handleChangeTab ({ name }) {
            if (name !== this.tabActiveKey) this.$router.push(`/customer/patientList/${name}`);
        }
    }
}
